Task Creation Options
When creating a task using MPCreateTask
, you can specify the following constants in the options
field:
enum {
kMPCreateTaskSuspendedMask = 1L << 0,
kMPCreateTaskTakesAllExceptionsMask = 1L << 1,
kMPCreateTaskValidOptionsMask = kMPCreateTaskSuspendedMask |
kMPCreateTaskTakesAllExceptionsMask
};
Constant Descriptions
-
kMPCreateTaskSuspendedMask
-
The task is initially suspended.
-
kMPCreateTaskTakesAllExceptionsMask
-
The task will take all exceptions, including those normally handled by the system, such as page faults.
-
kMPCreateTaskValidOptionsMask
-
Include all valid options for this task.
VERSION NOTES
-
Introduced with Multiprocessing Services 2.1.
-
© 1999 Apple Computer, Inc. – (Last Updated 17 Nov 99)